FROM registry.cn-guangzhou.aliyuncs.com/cjy-private/ubuntu-jdk:1.8 as builder

RUN mkdir -p /demo

WORKDIR /demo

EXPOSE 8888

ADD ./demo.jar /demo

CMD java -jar demo.jar

docker build -t demo:1.0.0 . --build-arg ACTIVE_MODE=prod